package com.zhangtai.modules.service.impl.qw;

import com.zhangtai.modules.dao.QwCheckRuleDao;
import com.zhangtai.modules.entity.qw.QwCheckRuleEntity;
import com.zhangtai.modules.service.qw.QwCheckRuleService;
import com.zhangtai.utils.PageUtils;
import com.zhangtai.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;



@Service("qwCheckRuleService")
public class QwCheckRuleServiceImpl extends ServiceImpl<QwCheckRuleDao, QwCheckRuleEntity> implements QwCheckRuleService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<QwCheckRuleEntity> page = this.page(
                new Query<QwCheckRuleEntity>().getPage(params),
                new QueryWrapper<QwCheckRuleEntity>()
        );

        return new PageUtils(page);
    }

}